import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
* ${classInfo.classComment}
* @author ${authorName}
* @date ${.now?string('yyyy/MM/dd')}
*/
public interface ${classInfo.className}Dao {

    /**
    * 新增
    */
    boolean insert(${classInfo.className} ${classInfo.className?uncap_first});

    /**
    * 刪除
    */
    boolean delete(${classInfo.primaryKeyType} id);

    /**
    * 更新
    */
    boolean update(${classInfo.className} ${classInfo.className?uncap_first});

    /**
    * 查询 根据主键 id 查询
    */
    ${classInfo.className} getById(${classInfo.primaryKeyType} id);

}
